#ifndef __TRACE_H
#define __TRACE_H
#include "stm32f4xx.h"

#define thr_whiteline 290
#define white         250
#define green         140

void get_huidu_va(void);
void Trace(void);
void high_run(int N);
void slow_run(int N);
void speed_up(int start, int end);
void speed_down(int high, int low);
void so_so(int speed_max, int speed_min, int max_time, int time_up, int time_down);
void so_so_aid(int speed_max, int speed_min, int max_time, int time_up, int time_down);
void bridge_Trace(uint8_t mode);
void bridge_PD(int N, uint8_t mode);
void speed_UPDOWN(int speed_max, int speed_min, int max_time);
#endif